package com.songshuai.webapi.auth.dao;

import com.songshuai.webapi.auth.dto.User;
import com.songshuai.webapi.auth.model.YxUsers;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface YxUsersMapper extends Mapper<YxUsers> {

    User SelectAuthByEmail(String email);

    User SelectAuthByMobile(String mobile);

    List<User> SelectAuthByUserName(String username);
}